#include <Network/P2PGetSessionRequestHandler.h>
#include <Poco/Net/HTTPServerRequest.h>
#include <Poco/Net/HTTPServerResponse.h>
#include <Poco/Net/NameValueCollection.h>
#include <Poco/Net/HTTPCookie.h>
#include <iostream>

#include <Poco/Util/Application.h>
#include <Poco/File.h>
#include <Poco/FileStream.h>
#include <Poco/StreamCopier.h>
#include <Poco/URI.h>


using namespace Poco::Net;
using namespace Network;
void P2PGetSessionRequestHandler::handleRequest(Poco::Net::HTTPServerRequest& request, Poco::Net::HTTPServerResponse& response)
{
	static Poco::UInt64 aSession = 1;
	std::ostream & aStream = response.send();
	aStream<<aSession;
	
	aSession++;	
}
